/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package session;

import java.util.List;
import javax.ejb.Remote;
import model.Priority;

/**
 *
 * @author HuyNVK
 */
@Remote
public interface PriorityFacadeRemote {

    void create(Priority priority);

    void edit(Priority priority);

    void remove(Priority priority);

    Priority find(Object id);

    List<Priority> findAll();

    List<Priority> findRange(int[] range);

    int count();
    
    Priority merge(Priority priority);
    
    void deleteByID(String id);
    
    void insert(Priority priority);
}
